package com.kuaimacode.kframework.mybatis.models.category;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Administrator
 * @date 2019/03/22
 */
@TableName("sys_agent_service")
@Data
public class AgentServ implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	@ApiModelProperty(value = "服务名称")
	@TableField("service_name")
	private String serviceName;
	@ApiModelProperty(value = "所属大类")
	@TableField("service_class")
	private String serviceClass;

	@ApiModelProperty(value = "子类型")
	@TableField("service_code")
	private String serviceCode;

	@ApiModelProperty(value = "定价方式 1 定价 2 不定价")
	@TableField("price_way")
	private Integer priceWay;
	@ApiModelProperty(value = "定价/上门费")
	@TableField("fee")
	private BigDecimal fee;
	@ApiModelProperty(value = "描述")
	@TableField("service_desc")
	private String serviceDesc;
	@ApiModelProperty(value = "")
	@TableField("agent_id")
	private String agentId;
	//师傅提成比例 1103 改为师傅提成比例  字段名称就不该了 azy
	@ApiModelProperty(value = "师傅提成比例")
	@TableField("agent_rate")
	private BigDecimal agentRate;

	@ApiModelProperty(value = "删除状态 1 正常 2 停用")
	@TableField("delete_Status")
	private Integer deleteStatus;

	@ApiModelProperty(value = "创建日期")
	@TableField("create_at")
	private Date createAt;
	@ApiModelProperty(value = "创建人")
	@TableField("create_by")
	private Long createBy;
	@ApiModelProperty(value = "")
	@TableField("update_at")
	private Date updateAt;
	@ApiModelProperty(value = "")
	@TableField("update_by")
	private Long updateBy;
}
